<script>

var a = 10, b=20, c=30, d=12;

a++;
a = a*2;
a /=6;


if (a+b > c || c < a+d) {
    alert ('a');
}
else {
	alert('b');
}




</script>